package cn.quevo.core.exception;

import cn.quevo.core.enums.ResultStatusEnum;

/**
 * Dao异常
 *
 * @author July july_sky@foxmail.com
 * @date 2018-03-09 14:14:40
 * @Copyright ©2015-2035 湘豫(北京)科技有限公司. All Rights Reserved.
 * @version 1.0
 * @return
 */
public class DaoException extends CheckParamsException {

    /**
     * 
     */
    private static final long serialVersionUID = 2459064719225506877L;
    
    public DaoException () {
        super(ResultStatusEnum.DAO_EXCEPTION);
    }
    
    public DaoException(String msg) {
        this(ResultStatusEnum.DAO_EXCEPTION.getCode(), msg);
    }

    public DaoException(Integer code, String msg) {
        super(code, msg);
    }
}
